package com.caland.common.data;

public class Constraints {
	// fields
	private String name;
	private String tableName;
	private String columnName;
	private String referencedTableName;
	private String referencedColumnName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getReferencedTableName() {
		return referencedTableName;
	}

	public void setReferencedTableName(String referencedTableName) {
		this.referencedTableName = referencedTableName;
	}

	public String getReferencedColumnName() {
		return referencedColumnName;
	}

	public void setReferencedColumnName(String referencedColumnName) {
		this.referencedColumnName = referencedColumnName;
	}

	@Override
	public String toString() {
		return "Constraints [name=" + name + ", tableName=" + tableName
				+ ", columnName=" + columnName + ", referencedTableName="
				+ referencedTableName + ", referencedColumnName="
				+ referencedColumnName + "]";
	}
}
